package org.halk.service.impl;

import org.halk.entity.User;
import org.halk.service.StrategyService;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service("strategyHorServiceImpl")
public class StrategyHorServiceImpl extends StrategyAbstractService {
    @Override
    public List<User> get(String projectId) {
        List<User> allUser = getAllUser(projectId);
        List<User> horUser = Collections.singletonList(new User().setName("hor"));

        allUser.addAll(0, horUser);
        return allUser;
    }

}
